package com.inspinia.base.api.model;

/**
 * API header的bean
 *
 * @author veblen
 */
public class ApiHeader {

    private String client_os; // 客户端类型，可选值：ANDROID、IOS
    private String client_osversion; // 客户端版本
    private String client_versionname; // 客户端版本名，如v1.0.3
    private String client_versioncode; // 客户端版本号，如100
    private String userId; // 用户id，假如没有登录，此处为null
    private String timestamp; // 时间戳
    private String sign; // 校验码：md5(body长度 + 请求时间 + 密钥 + token)

    public String getClient_os() {
        return client_os;
    }

    public void setClient_os(String client_os) {
        this.client_os = client_os;
    }

    public String getClient_osversion() {
        return client_osversion;
    }

    public void setClient_osversion(String client_osversion) {
        this.client_osversion = client_osversion;
    }

    public String getClient_versionname() {
        return client_versionname;
    }

    public void setClient_versionname(String client_versionname) {
        this.client_versionname = client_versionname;
    }

    public String getClient_versioncode() {
        return client_versioncode;
    }

    public void setClient_versioncode(String client_versioncode) {
        this.client_versioncode = client_versioncode;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }
}
